package com.itany.cloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * Author:shixiaojun@itany.com
 * Date: 2022/3/21 11:09
 * Version: 1.0-SNAPSHOT
 */
@Configuration
public class MyConfig {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }


}
